package com.honghu.cloud.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 商品规格属性管理类，用来描述商品属性信息
 * @author Administrator
 *
 */
public class GoodsSpecPropertyDto extends BaseDto {
	
	private static final long serialVersionUID = -2801660056279959307L;
	
	private int sequence;//序号
	private String value;//规格值
	private AccessoryDto specImage;//规格图片
	private GoodsSpecificationDto spec;//商品规格
	private List<GoodsDto> goods_list = new ArrayList<GoodsDto>();// 规格中所在商品
	// private List<GoodsCart> cart_list = new ArrayList<GoodsCart>();// 规格中所在商品购物车

	public GoodsSpecPropertyDto() {
	}

	public GoodsSpecPropertyDto(Long id, Date addTime) {
		super(id, addTime);
	}

	public GoodsSpecPropertyDto(Long id) {
		super.setId(id);
	}

	/*public List<GoodsCart> getCart_list() {
		return this.cart_list;
	}

	public void setCart_list(List<GoodsCart> cart_list) {
		this.cart_list = cart_list;
	}*/

	public List<GoodsDto> getGoods_list() {
		return this.goods_list;
	}

	public void setGoods_list(List<GoodsDto> goods_list) {
		this.goods_list = goods_list;
	}

	public int getSequence() {
		return this.sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public AccessoryDto getSpecImage() {
		return this.specImage;
	}

	public void setSpecImage(AccessoryDto specImage) {
		this.specImage = specImage;
	}

	public GoodsSpecificationDto getSpec() {
		return this.spec;
	}

	public void setSpec(GoodsSpecificationDto spec) {
		this.spec = spec;
	}
}
